import request from '@/utils/request'

// 查询短信路由配置列表
export function listSms_route_config(query) {
    return request({
        url: '/bizsys/sms_route_config/list',
        method: 'get',
        params: query
    })
}

// 查询短信路由配置详细
export function getSms_route_config(id) {
    return request({
        url: '/bizsys/sms_route_config/' + id,
        method: 'get'
    })
}

// 新增短信路由配置
export function addSms_route_config(data) {
    return request({
        url: '/bizsys/sms_route_config',
        method: 'post',
        data: data
    })
}

// 修改短信路由配置
export function updateSms_route_config(data) {
    return request({
        url: '/bizsys/sms_route_config',
        method: 'put',
        data: data
    })
}

// 删除短信路由配置
export function delSms_route_config(id) {
    return request({
        url: '/bizsys/sms_route_config/' + id,
        method: 'delete'
    })
}

// 导出短信路由配置
export function exportSms_route_config(query) {
    return request({
        url: '/bizsys/sms_route_config/export',
        method: 'get',
        params: query
    })
}
